WP_Defender\Controller\Firewall D

Total Complexity 142
Dependencies 35
Dependents 13
Total lines 1,154
Lines of code 712
Logical lines of code 352
Comment lines 292
Methods 36
Properties 4

Methods 36

Method Rating Maintainability Complexity Lines of code
save_settings()
A
41 13 61
maybe_lockout()
A
44 12 44
actions_for_blocked()
A
40 10 58
config_strings()
A
48 10 34
__construct()
A
41 7 59
maybe_extend_mime_types()
A
50 9 25
verify_blocked_user()
A
47 8 39
maybe_show_demo_lockout()
S
49 6 33
schedule_cleanup_blocklist_ips_event()
S
57 7 17
maybe_lockout_gathered_ips()
S
58 7 15
export_strings()
S
50 5 28
sync_ip_header()
S
53 5 22
handle_detect_ip_header()
S
56 5 18
to_array()
S
52 3 27
check_attempt_counter_by()
S
59 3 14
print_emoji_script()
S
60 3 13
send_again()
S
61 3 12
empty_lockouts()
S
58 2 18
empty_logs()
S
58 2 18
data_frontend()
S
49 1 32
get_summary()
S
58 2 16
remove_data()
S
61 2 12
send_unlock_email()
S
52 1 27
import_data()
S
69 2 7
extend_mime_types()
S
71 2 6
enqueue_assets()
S
64 2 10
dashboard_activation()
S
61 1 12
dashboard_widget()
S
74 1 5
clean_up_firewall_logs()
S
82 1 3
remove_settings()
S
68 1 8
main_view()
S
81 1 3
clean_up_firewall_lockout()
S
82 1 3
clean_up_unlockout()
S
75 1 4
update_trusted_proxy_preset_ips()
S
82 1 3
clean_up_temporary_ip_blocklist()
S
82 1 3
smart_ip_detection_ping()
S
82 1 3